@color1:rgb(250,250,250);
@color2:rgb(105,105,105);

.top{
  display: flex;
  height: 300px;
  text-align: center;
  color: white;
  background-image: url("../assets/knowledgeInfoTop.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;

  .flex{
    flex: 1;

    .when{
      margin-top: 0.8rem;
      margin-bottom: 0.1rem;
      font-size: 0.4rem;
    }

    .time{
      font-size: 0.55rem;
      font-weight: bold;
    }

  }

  .title{
    margin-top: 0.3rem;
    margin-left: 0.4rem;

    img{
      width: 1.5rem;
      margin-right: 0.1rem;
      vertical-align: middle;
    }
    .h2{
      font-size: 0.6rem;
      font-weight: bold;
      color: white;
    }

  }

}


.accordion{
  border-top: none;
  font-family: 微软雅黑;

  .header{
    display: flex;
    align-items:center;
    min-height: 100%;

    .img{
      width: 0.6rem;
      margin-right: 0.2rem;
    }

    .img2{
      width: 0.55rem;
      margin-right: 0.2rem;
    }

    span {
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  :global{
    .am-accordion-content-box{
      text-indent: 2em;
      padding: 0.3rem 0.3rem;
      line-height: 1.4em;
      background-color: @color1;
      border: @color1 1px solid;

    }
    .am-accordion-item .am-accordion-header:after, .am-accordion-item .am-accordion-content .am-accordion-content-box:after{
      border: none;
    }

    .am-accordion-item-active .am-accordion-header span{
      line-height: normal;
      white-space: normal;
    }
  }

}


.select{
  user-select: all;
  color: gray;
}
